#ifndef READER_INFO_ADD_H
#define READER_INFO_ADD_H

#include <QtSql/QSqlRecord>
#include <QDialog>
#include <QMessageBox>
#include <QSqlQuery>
#include <QDateEdit>
#include <QDateTime>
#include "dboperation.h"
#include <QSqlTableModel>

namespace Ui {
class reader_Info_add;
}

class reader_Info_add : public QDialog
{
    Q_OBJECT

public:
    explicit reader_Info_add(QSqlTableModel *M, QWidget *parent = nullptr);
    ~reader_Info_add();

private slots:


    void on_add_pushButton_clicked();

    void on_cancel_pushButton_clicked();

private:
    Ui::reader_Info_add *ui;
    DBOperation *db;
    QSqlTableModel *M;
};

#endif // READER_INFO_ADD_H
